package com.oscarmovie;


public class Mtime {
	public static void main(String[] args) {

	}
	
	
	public static String baiduPersonMtime(String key) {
		String s = "mtime+"+key.replace(" ", "+")+"";
		//s = "www.mtime.com+"+key.replace(" ", "+")+"";
		String url = "http://www.baidu.com/s?tn=baiduhome_pg&bs="+s+"&f=8&rsv_bp=1&rsv_spt=1&wd="+s+"&inputT=0";
		return url;
	}
	
	public static String baiduMovieMtime(String key) {
		String s = "movie.mtime.com+"+key.replace(" ", "+")+"";
		//s = "www.mtime.com+"+key.replace(" ", "+")+"";
		String url = "http://www.baidu.com/s?tn=baiduhome_pg&bs="+s+"&f=8&rsv_bp=1&rsv_spt=1&wd="+s+"&inputT=0";
		return url;
	}
	public static String mtimeMovie(int mtimeId) {
		return "http://movie.mtime.com/" + mtimeId;
	}
	public static String mtimeMovieImages(int mtimeId) {
		return "http://movie.mtime.com/"+mtimeId+"/posters_and_images/";
	}
	public static String mtimePerson(int mtimeId) {
		return "http://people.mtime.com/" + mtimeId;
	}
	

}
